﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="upldpic.aspx.cs" Inherits="weba.upldpic" %>

<%@ Register assembly="C1.Web.Wijmo.Controls.4, Version=4.0.20133.145, Culture=neutral, PublicKeyToken=9b75583953471eea" namespace="C1.Web.Wijmo.Controls.C1Upload" tagprefix="wijmo" %>

<%@ Register assembly="C1.Web.Wijmo.Controls.4, Version=4.0.20133.145, Culture=neutral, PublicKeyToken=9b75583953471eea" namespace="C1.Web.Wijmo.Controls.C1ListView" tagprefix="wijmo" %>
<%@ Register assembly="C1.Web.Wijmo.Controls.4, Version=4.0.20133.145, Culture=neutral, PublicKeyToken=9b75583953471eea" namespace="C1.Web.Wijmo.Controls.C1SuperPanel" tagprefix="wijmo" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <wijmo:C1Upload ID="C1Upload1" runat="server" width="300px" ShowUploadedFiles="True" TargetFolder="~/Images" />
                <asp:Button ID="Button1" runat="server" Text="参看所有新增图片" OnClick="Button1_Click" />
                <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="添加到数据库" />
                <br />
                
                    <asp:DataList runat="server" RepeatColumns="5" ID="dst1">
                        <ItemTemplate>
                            <asp:Image ID="Image1" runat="server" ImageUrl='<%# "Images/"+ Eval("picurl") %>' Width="100" Height="100" />
                        </ItemTemplate>
                </asp:DataList>
               
            </ContentTemplate>

        </asp:UpdatePanel>
    </div>
    </form>
</body>
</html>
